package org.imlinker.communiaction;

public interface InterfaceCommandDecoder {

	/**
	 * get the Message from yourself's phone
	 * 获得来自你的手机的信息；
	 * @return
	 */
	public String getMessage();
	
	/**
	 * get the command
	 * 获得信息中的命令
	 * @return
	 */
	public String getCommand();
	
	/**
	 * get the plugin's name
	 * @return
	 */
	public String getPluginName();
	
	/**
	 * get the message ID
	 * @return
	 */
	public String getID();
	
	/**
	 * get the password
	 * 获得密码
	 * @return
	 */
	public String getPassword();
	
	/**
	 * computer send the message back; 
	 *
	 */
	public void sendMessageBack();
	
	/**
	 * islegal
	 * 是否合法
	 * @return
	 */
	public boolean islegal();
}
